Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext


~Julia Chufreemaroopsi 25.Nov.03 01:13 PM a Web browser
Domino Designer 6.0.1 Windows XP


Hello,
We are migrating databases from R5 to R6.
Following logic exists in one of the database.
1> DocA composes DocB in QueryClose event using Formula language
2> DocB embeds an excel sheet to display. An agent is executed(using formula language) in the PostOpen event of DocB to achieve this.
3> The Agent uses the current document to retrieve some values for calculations on the Excel sheet

Now when agent runs in R5,
set uidoc=uiws.currentdocument
retrieves (as expected) DocB)

But in R6, uidoc is getting set to DocA!!!
As a result the entire subsequent code in the Agent goes for a toss.

Please let me know what is the workaround for this. I need to access DocB in the agent and not DocA.

I tried closing DocA before composing DocB but to no avail.

regds
Santosh








  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

 RSS feedsRSS
All forum posts RSS
All main topics RSS